﻿/*
 * 树，无线循环列表
 * item 子节点
 * 
 */
namespace SuperScrollView
{
    public class SuperTreeChildItem : SuperTreeBaseItem
    {
        int mTreeItemIndex;
        int mChildItemIndex;

        public override void Init()
        {
            base.Init();
            mType = SuperTreeItemType.Child;
        }

        public int TreeItemIndex
        {
            get { return mTreeItemIndex; }
        }
        public int ChildItemIndex
        {
            get { return mChildItemIndex; }
        }
        public void SetItemData(int treeItemIndex, int childIndex)
        {
            mTreeItemIndex = treeItemIndex;
            mChildItemIndex = childIndex;
            RefreshItem();
        }
    }
}

